package com.csnf.entity;

import java.util.List;

public class UserAuthors {
    private Integer author_id;
    private String  author_name;
    private String author_nation;
    private List<UserBooks> booksList;
    @Override
    public String toString() {
        return "UserAuthors{" +
                "author_id=" + author_id +
                ", author_name='" + author_name + '\'' +
                ", author_nation='" + author_nation + '\'' +
                '}';
    }

    public UserAuthors() {
    }

    public List<UserBooks> getBooksList() {
        return booksList;
    }

    public Integer getAuthor_id() {
        return author_id;
    }

    public void setAuthor_id(Integer author_id) {
        this.author_id = author_id;
    }

    public String getAuthor_name() {
        return author_name;
    }

    public void setAuthor_name(String author_name) {
        this.author_name = author_name;
    }

    public String getAuthor_nation() {
        return author_nation;
    }

    public void setAuthor_nation(String author_nation) {
        this.author_nation = author_nation;
    }

    public UserAuthors(Integer author_id, String author_name, String author_nation) {
        this.author_id = author_id;
        this.author_name = author_name;
        this.author_nation = author_nation;
    }

    public void setBooksList(List<UserBooks> booksList){
        this.booksList=booksList;
    }
}
